//
//  AppDelegate.swift
//  CodingTest
//
//  Created by LYPC on 2021/11/17.
//

import UIKit

@main
class AppDelegate: UIResponder, UIApplicationDelegate {
    
    var window: UIWindow?
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        
        if window == nil {
            let rootVc = ListViewController()
            let navVC = BaseNavController(rootViewController: rootVc)
            
            window = UIWindow.init(frame: UIScreen.main.bounds)
            window!.rootViewController = navVC
            window!.makeKeyAndVisible()
        }
        return true
    }
}

